package general
{
	public class utils
	{
		public function utils()
		{
		}
		
		public static function getNameFromPath(path:String) : String
		{
			var i:int = path.length - 1;
			while (i != 0 && path.charAt(i) != '/' && path.charAt(i) != '\\')
			{
				i--;
			}
			return path.substr(i + 1, path.length - i - 1).substr(0, 35);
		}
	}
}